<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<jsp:directive.page import="java.util.Date" />
<jsp:directive.page import="java.text.SimpleDateFormat" />


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Forward 跳转</title>

</head>
<body>
<div align="center"><br/><filedset style=width:90%><legend>Forward 跳转</legend><br/>
    <%--<div style='line'>
        <div align='center'>
            <input type='button' οnclick='location="<%=request.getContextPath() %>/ForwardServlet?destination=servlet";' value='跳转到Servlet' class=button>
            <input type='button' οnclick='location="<%=request.getContextPath() %>/ForwardServlet?destination=file";' value='跳转到web.xml' class=button"'>
            <input type='button' οnclick='location="<%=request.getContextPath() %>/ForwardServlet?destination=jsp";' value='跳转到JSP' class=button"'>
        </div>
    </div>--%>
    <a href="ForwardServlet?destination=servlet">跳转到Servlet</a>
    <a href="ForwardServlet?destination=file">跳转到web.xml</a>
    <a href="ForwardServlet?destination=jsp">跳转到JSP</a>
</body>
</html>
